﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xinkui.Entity.AutoGenerator;
using DataFrameworkAccess;
using Xinkui.Common;

namespace Xinkui.DataAccess.AutoGenerator {
    public partial class CommonProvinceDataAccess {

        public List<CommonProvince_Entity> CommonProvince_All() {

            try {

                DataCommand cmd = DataCommandManager.GetDataCommand("CommonProvince_All");

                List<CommonProvince_Entity> pageList = cmd.ExecuteEntityList<CommonProvince_Entity>();

                return pageList;
            }
            catch (Exception ex) {
                ExceptionHelper.ProcessException(ex);
            }

            return new List<CommonProvince_Entity>(0);

        }
    }
}
